package eight;

import static util.Print.print;

/**
 * Created by ab on 2016/11/3.
 * 缺陷1:private 无法覆盖
 */

class PrivateOverride{
    public void f(){print("正常人会这样？");}
    public void ass(){
        f();
    }
}

class ass extends PrivateOverride{
    public void f(){print("不会");}
}

public class lesson3 {
    public static void main(String[] args){
        new ass().ass();
    }
}
